package com.smart.community.parking.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.smart.community.parking.entity.ParkingLot;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 停车场Mapper接口
 * 
 * @author Wu.Liang
 * @since 2024-12-21
 */
@Mapper
public interface ParkingLotMapper extends BaseMapper<ParkingLot> {

    /**
     * 根据停车场编码查询停车场
     * 
     * @param lotCode 停车场编码
     * @return 停车场信息
     */
    ParkingLot selectByLotCode(@Param("lotCode") String lotCode);
} 